#!/bin/bash

set -ex

database=app_xianzhi
file=$database'-'$(date +%Y-%m-%d_%H:%M:%S).sql
mysqldump -uroot -p01234565 app_xianzhi > $file
echo "Your database backup successfully completed"
